package per.wei.diary.entity;

import java.util.Calendar;

/**
 * @author wei_xiao
 *
 */
public class MyDate {
	private int year;
	private int month;
	private int day;
	private int dayOfWeek;
	
	public MyDate() {}

	/**
	 * @return 从1970年开始
	 */
	public int getYear() {
		return year;
	}

	/**
	 * @param year 从1970年开始
	 */
	public void setYear(int year) {
		this.year = year;
	}

	/**
	 * @return 0-11
	 */
	public int getMonth() {
		return month;
	}

	/**
	 * @param month 0-11
	 */
	public void setMonth(int month) {
		this.month = month;
	}

	/**
	 * @return 从1开始
	 */
	public int getDay() {
		return day;
	}

	/**
	 * @param day 从1开始
	 */
	public void setDay(int day) {
		this.day = day;
	}

	/**
	 * @return 0-6
	 */
	public int getDayOfWeek() {
		return dayOfWeek;
	}

	/**
	 * @param dayOfWeek 0-6
	 */
	public void setDayOfWeek(int dayOfWeek) {
		this.dayOfWeek = dayOfWeek;
	}
}
